package com.baosight.sczx.zm.service;

import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.core.threadlocal.UserSession;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.iplat4j.security.bridge.SecurityBridge;
import com.baosight.iplat4j.security.bridge.SecurityBridgeFactory;

public class ServiceZM80 extends ServiceEPBase 
{
	public EiInfo update(EiInfo inInfo)
	{
		String fdNewWord = inInfo.getString("fdNewWord");
		SecurityBridge sbridge = SecurityBridgeFactory.getBridge();
		sbridge.setUserPassword(UserSession.getUserId().toString(), fdNewWord);
		
		return inInfo;
	}
}
